provider Prevent GET
/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repositories/tokens/ @utdk/sentry
/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repositories/tokens/ Retrieves a paginated list of repository tokens for a given owner
Retrieves a paginated list of repository tokens for a given owner.
- organization_id_or_slug path required
- The ID or slug of the organization the resource belongs to.
- string
- owner path required
- The owner of the repository.
- string
- limit query
- The number of results to return. If not specified, defaults to 20.
- integer
- navigation query
- Whether to get the previous or next page from paginated results. Use `next` for forward pagination after the cursor or `prev` for backward pagination before the cursor. If not specified, defaults to `next`. If no cursor is provided, the cursor is the beginning of the result set.
- string
- cursor query
- The cursor pointing to a specific position in the result set to start the query from. Results after the cursor will be returned if used with `next` or before the cursor if used with `prev` for `navigation`.
- string
- sortBy query
- The property to sort results by. If not specified, the default is `COMMIT_DATE` in descending order. Use `-` for descending order. Available fields are: - `NAME` - `COMMIT_DATE`
- string
Try it
Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import sentry from '@utdk/sentry';
await sentry.retrievesAPaginatedListOfRepositoryTokensForAGivenOwner()